export const USERS = 'USERS';

export const SGusersList = data => {
	return {
		type:USERS,
		data
	}
}

export const GET_USERS = 'GET_USERS';
export const getUsers = users => {
	return {
		type:GET_USERS,
		users
	}
}

export const ADD_USER = 'ADD_USER';
export const addUser = data => {
	return {
		type:ADD_USER,
		data
	}
}

export const RM_USER = 'RM_USER'; 
export const SGremoveUser = data => {
	return {
		type:RM_USER,
		data
	}
}

export const REMOVE_USER = 'REMOVE_USER';
export const removeUser = id => {
	return {
		type:REMOVE_USER,
		id
	}
}

export const NEW_USER = 'NEW_USER';
export const SGaddUser = data => {
	return {
		type:NEW_USER,
		data
	}
}